import request from '@/utils/request'

// 查询小时数据data列表
export function listHourData(query) {
  return request({
    url: '/basic/hourData/list',
    method: 'get',
    params: query
  })
}

// 查询小时数据data详细
export function getHourData(id) {
  return request({
    url: '/basic/hourData/' + id,
    method: 'get'
  })
}

// 新增小时数据data
export function addHourData(data) {
  return request({
    url: '/basic/hourData',
    method: 'post',
    data: data
  })
}

// 修改小时数据data
export function updateHourData(data) {
  return request({
    url: '/basic/hourData',
    method: 'put',
    data: data
  })
}

// 删除小时数据data
export function delHourData(id) {
  return request({
    url: '/basic/hourData/' + id,
    method: 'delete'
  })
}

// 导出小时数据data
export function exportHourData(query) {
  return request({
    url: '/basic/hourData/export',
    method: 'get',
    params: query
  })
}